package com.chixing.mapper;

import com.chixing.entity.Dish;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author smith
 * @since 2025-05-21
 */
@Mapper
public interface DishMapper extends BaseMapper<Dish> {
    //膜乎搜索
    /*
    @Select("SELECT * FROM dish WHERE dishName LIKE CONCAT('%', #{name}, '%')")
    List<Dish> selectByName(String name);
     */

}
